using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rotempco.Core.ORM.Interfaces
{
    public interface IDAL<TDomainObject, TPrimaryKey> : IDALReadOnly<TDomainObject, TPrimaryKey>
    {
        void WriteToDB(TDomainObject instance);
        void Delete(TPrimaryKey id, bool forceDelete = false);
        void Restore(TPrimaryKey id);
    }
}
